package com.weixin.paleituo.view;

import android.content.Context;

import com.bumptech.glide.Glide;
import com.bumptech.glide.GlideBuilder;
import com.bumptech.glide.load.DecodeFormat;
import com.bumptech.glide.module.GlideModule;

/**
 * Author yichao
 * Time  2018/4/28 14:35
 * Dest  ${TODO}
 */

    public class GlideConfiguration implements GlideModule {
        @Override
        public void applyOptions(Context context, GlideBuilder builder) {
            builder.setDecodeFormat(DecodeFormat.PREFER_ARGB_8888);
        }
        @Override
        public void registerComponents(Context context, Glide glide) {

        }
    }

